package top.tenebrous.yzl;

import com.github.xiaoymin.swaggerbootstrapui.annotations.EnableSwaggerBootstrapUI;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableAsync;

/**
 *
 * @author yazhang6
 */
@EnableDiscoveryClient
@EnableFeignClients(basePackages = "top.tenebrous")
@SpringBootApplication(scanBasePackages = "top.tenebrous")
@EnableSwaggerBootstrapUI
@EnableAsync
public class JesticServiceApplication {

    public static void main(String[] args) {
        SpringApplication.run(JesticServiceApplication.class, args);
        System.setProperty("server.port", "8094");
    }

}
